package com.smart.campus.service;

import com.smart.campus.dto.ShDepartment;
import com.smart.campus.pojo.PagedResponse;

import java.util.List;

/**
 * @BelongsProject: smart-campus
 * @BelongsPackage: com.smart.campus.service
 * @Author: JinBao shan
 * @date 2024/9/19 17:02
 * @Description: TODO
 * @Version: 1.0
 */

public interface ShDepartmentService {

    PagedResponse<ShDepartment> findShDepartmentsPagination(ShDepartment department, Integer pageNum, Integer pageSize);

    List<ShDepartment> getShDepartmentList();

    void addShDepartment(ShDepartment department);

    ShDepartment getShDepartmentById(Integer id);

    void updateShDepartmentById(ShDepartment department);

    void updateShDepartmentStatusById(ShDepartment department);

    void deleteShDepartmentById(Integer id);
}
